<template>
  <div class="account-login">
    <!-- 用户名输入框 -->
    <div class="input-box">
      <input type="text" v-model="username" placeholder="Username" />
    </div>
    <!-- 密码输入框 -->
    <div class="input-box">
      <input type="password" v-model="password" placeholder="Password" />
    </div>
    <div class="input-box">
      <!-- 登录按钮 -->
      <button>Login</button>
    </div>
  </div>
</template>

<script>
export default {
  name: "AccountLogin",
  data() {
    return {
      username: "",
      password: "",
    };
  },
};
</script>

<style lang="scss" scoped>
.account-login {
  padding: 30px;
  box-sizing: border-box;

  .input-box {
    height: 34px;
    margin-top: 20px;

    input,
    button {
      width: 100%;
      height: 100%;
      box-sizing: border-box;
    }
  }
}
</style>